/*--------------------------------------------------------------
 * File: SD_card.h 编码类型：C语言  UTF-8
 * Author WRS (1352509846@qq.com)
 * 功能: SD卡驱动功能
 * Version 0.1
 * Date 2024-11-25 
 * 
 * @copyright Copyright (c) 2024
 * 
----------------------------------------------------------------*/

#ifndef __SDCARD_H
#define	__SDCARD_H

#ifdef __cplusplus
extern "C" {
#endif
#include "stdio.h"
#include "stdint.h"

extern uint8_t SD_flag;

enum SD_STATE
{
    SD_STATE_IDLE = 0,
    SD_STATE_READY = 1,
    SD_STATE_ERROR = 2
};

void sdcard_init(void);


#ifdef __cplusplus
}
#endif


#endif